package com.techwells.learningkites.model;

import java.util.List;

import com.techwells.learningkites.base.KitesViewModel;
import com.techwells.learningkites.networkservice.KitesServiceMediator;
import com.techwells.learningkites.networkservice.model.Avatar;
import com.techwells.learningkites.networkservice.model.UserProfile;
import com.techwells.taco.tasktool.TaskToken;

public class ChooseUserAvatarViewModel extends KitesViewModel {
	
	public List<Avatar> listAvatar;

	@Override
	public void paddingResult(TaskToken token) {
		// TODO Auto-generated method stub
		super.paddingResult(token);
		
		String method = token.method;
		if (method.equals(KitesServiceMediator.SERVICE_GET_AVATARS)) {
			listAvatar = (List<Avatar>) response.getResponse();
		}
	
	}

}
